package com.promise.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.sql.Date;

@Data
public class Duty {
    // 主键
    @TableId
    @TableField("duty_id")
    private Integer dutyId;
    //发生时间
    @TableField("duty_date")
    private Date dutyDate;
    //值班人id
    @TableField("watch_id")
    private Integer watchId;
    //值班人name
    @TableField("watch_name")
    private String watchName;
    //值班人phone
    @TableField("watch_phone")
    private String watchPhone;
    //备注
    private String note;
}
